<?php
	session_start();
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Online Sale</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<!--[if ie]><meta content='IE=8' http-equiv='X-UA-Compatible'/><![endif]-->
		<!-- bootstrap -->
		<link href="template/bootstrap/css/bootstrap.min.css" rel="stylesheet">      
		<link href="template/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">		
		<link href="template/themes/css/bootstrappage.css" rel="stylesheet"/>
		
		<!-- global styles -->
		<link href="template/themes/css/flexslider.css" rel="stylesheet"/>
		<link href="template/themes/css/main.css" rel="stylesheet"/>		
		<link href="template/themes/css/jquery.fancybox.css" rel="stylesheet"/>

		<!-- scripts -->
		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
		<script src="template/themes/js/jquery-1.7.2.min.js"></script>
		<script src="template/bootstrap/js/bootstrap.min.js"></script>				
		<script src="template/themes/js/superfish.js"></script>	
		<script src="template/themes/js/jquery.scrolltotop.js"></script>
		<script src="template/themes/js/jquery.fancybox.js"></script>
		<!--[if lt IE 9]>			
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
			<script src="template/js/respond.min.js"></script>
		<![endif]-->
		<style>
			.active{
				color: #555;
				background-color: #e7e7e7;
			}
			.cart{
				margin-bottom: 12px;
				margin-top: 10px;
			}
			.add_to_cart{
				background-color: #66BCDA;
				border-color: #66BCDA #66BCDA #66BCDA #66BCDA;
				color: #FFFFFF!important;
				margin: 0;
				padding: 4px 8px;
				border: 1px solid;
				font-size: 12px;
				text-align: center;
				cursor: pointer;
			}
		</style>
	</head>
    <body>		
		<div id="top-bar" class="container">
			<div class="row">
				<div class="span4">
					&nbsp;
				</div>
				<div class="span8">
					<div class="account pull-right">
						<ul class="user-menu">				
							<li class="<?php if(isset($_GET['home'])){ echo 'active';}else{ echo ""; } ?>">
								<?php //if(isset($_SESSION['id'])){ echo '<pre>'; print_r($_SESSION); echo '</pre>'; }else{ echo 'No Session'; } ?>
								<a href="<?php if(isset($_SESSION['id'])){ echo 'courses.php?home=1';}else{ echo "index.php?home=1"; } ?>">Home</a>
							</li>
							<li><a href="#">Contact Us</a></li>
							<li><a href="#">Contact Us</a></li>					
							<li class="<?php if(isset($_GET['sbscribe'])){ echo 'active';} ?>">
								<?php
									if(isset($_SESSION['id'])){ 
										echo '<a href="classess/logout.php?sbscribe=1">Logout</a>';
									}else{						
										echo '<a href="index.php?sbscribe=1">Subscribe</a>';
									}
								?>
							</li>		
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div id="wrapper" class="container">
			<section class="navbar main-menu">
				<div class="navbar-inner main-menu">				
								
				</div>
			</section>